Skip to content

[RTTI] Fix Itanium RTTI scan failing to symbolize objects with extern typeinfo#8082

Merged
emesare merged 1 commit intodevfrom
test_fix_itanium_extern_type_info_missed
Apr 13, 2026
Merged

[RTTI] Fix Itanium RTTI scan failing to symbolize objects with extern typeinfo#8082
emesare merged 1 commit intodevfrom
test_fix_itanium_extern_type_info_missed

Conversation

@emesare
Copy link
Copy Markdown
Member

@emesare emesare commented Apr 10, 2026

The issue stems from the gnu3 demangler changing in 260ca61

Fixes #8080

… typeinfo

The issue stems from the gnu3 demangler changing in 260ca61

Fixes #8080
@emesare emesare added this to the Jotunheim Release 2 milestone Apr 10, 2026
@emesare emesare self-assigned this Apr 10, 2026
@emesare emesare added Effort: Trivial Issues require < 1 day of work Component: RTTI labels Apr 10, 2026
@plafosse
Copy link
Copy Markdown
Member

Oh dang didn't realize we were doing any string matching on the output of the demangler.

@emesare
Copy link
Copy Markdown
Member Author

emesare commented Apr 10, 2026

Yea its for extern stuff, maybe there is some metadata in the ELF/Mach-O we can use instead of just doing that, but 🤷

@plafosse
Copy link
Copy Markdown
Member

I feel like we need to be using the same string or we need a static assert to ensure stuff like this doesn't happen. Also I think this might fail if our own demangler is turned off and the Generic Demangler kicks in.

@emesare
Copy link
Copy Markdown
Member Author

emesare commented Apr 13, 2026

I think I will do a follow up PR to make this specific part more robust, for now this is good to fix the regression for 5.3.

@emesare emesare merged commit 745c0b3 into dev Apr 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: RTTI Effort: Trivial Issues require < 1 day of work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Itanium RTTI metadata not symbolized when base type info is extern

2 participants